import http from '@/utils/http'
import type { OperResultResponse, OperTableParams, OperTableResponse } from '../types/Operation'

enum API {
    OperOptionsList_URL = '/api/log/busy/select',
    OperOperationList_URL = '/api/log/busy/list'
}

// 获取搜索下拉数据列表
export const reqGetOptionsList = () => http.get<any, OperResultResponse>(API.OperOptionsList_URL)

// 获取操作列表
export const reqGetOperationList = (data: OperTableParams) => http.get<any,OperTableResponse>(API.OperOperationList_URL, { params: data })